package com.tledu.store.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 库房日志对象 store_log
 * 
 * @author ruoyi
 * @date 2024-08-29
 */
public class StoreLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 库房id */
    @Excel(name = "库房id")
    private Long storeId;

    /** 操作类型(0新增，1修改，2删除) */
    @Excel(name = "操作类型(0新增，1修改，2删除)")
    private Long operationType;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long createUser;

    /** 删除标志(0代表存在 2代表删除) */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setOperationType(Long operationType) 
    {
        this.operationType = operationType;
    }

    public Long getOperationType() 
    {
        return operationType;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("operationType", getOperationType())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
